/*
 * tweet_operation.js
 * written by ryutlis
 * email: ryutlis@ryutlism.org
 * homepage: http://www.ryutlism.org
 */

function retweet(user, number)
{
    var text=document.getElementById(number).innerHTML;
    text=text.replace(/(\<[^\>]+\>)/g, "");
    var str="RT @" + user + " " + text;
    document.getElementById("textarea").focus();
    document.getElementById("textarea").innerHTML=str;
}

function reply(user)
{
    var str="@" + user;
    document.getElementById("textarea").focus();
    document.getElementById("textarea").innerHTML=str;
}
